package com.yxinsur.imc.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 保单对应银行卡缴费信息对象 imc_order_bank_info
 * 
 * @author imc
 * @date 2021-03-22
 */
public class ImcOrderBankInfo extends BaseImcEntity
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private String id;

    /** 保单表的id */
    @Excel(name = "保单表的id")
    private Long orderId;

    /** 银行户名(姓名) */
    @Excel(name = "银行户名(姓名)")
    private String accName;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String account;

    /** 银行名 */
    @Excel(name = "银行名")
    private String bank;

    /** 续期缴费-银行户名(姓名) */
    @Excel(name = "续期缴费-银行户名(姓名)")
    private String renewalAccName;

    /** 续期缴费-银行账号 */
    @Excel(name = "续期缴费-银行账号")
    private String renewalAccount;

    /** 续期缴费-银行名 */
    @Excel(name = "续期缴费-银行名")
    private String renewalBank;

    /** 租户id,一个租户id唯一对一个机构id（默认机构id为根节点id暨法人机构） */
    @Excel(name = "租户id,一个租户id唯一对一个机构id", readConverterExp = "默=认机构id为根节点id暨法人机构")
    private Long tenantId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setAccName(String accName) 
    {
        this.accName = accName;
    }

    public String getAccName() 
    {
        return accName;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setBank(String bank) 
    {
        this.bank = bank;
    }

    public String getBank() 
    {
        return bank;
    }
    public void setRenewalAccName(String renewalAccName) 
    {
        this.renewalAccName = renewalAccName;
    }

    public String getRenewalAccName() 
    {
        return renewalAccName;
    }
    public void setRenewalAccount(String renewalAccount) 
    {
        this.renewalAccount = renewalAccount;
    }

    public String getRenewalAccount() 
    {
        return renewalAccount;
    }
    public void setRenewalBank(String renewalBank) 
    {
        this.renewalBank = renewalBank;
    }

    public String getRenewalBank() 
    {
        return renewalBank;
    }
    public void setTenantId(Long tenantId)
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId()
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("accName", getAccName())
            .append("account", getAccount())
            .append("bank", getBank())
            .append("renewalAccName", getRenewalAccName())
            .append("renewalAccount", getRenewalAccount())
            .append("renewalBank", getRenewalBank())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .append("tenantId", getTenantId())
            .toString();
    }
}
